﻿#include <iostream>
#include"Data.h"
#include"Game.h"
#include"Heros.h"
using namespace std;


int main()
{

	Game game;
	game.GameInit();
	while (true)
	{
		game.GameUpdate(game.map,game.pHero);
		game.GameRender(game.map,game.pHero);
		if (game.map->m_nIdx > 1)
		{
			
			break;
		}		
	}
	system("CLS");
	cout << "王子最终救出了两位公主，从此过上了没羞没臊的生活" << endl;

	return 0;
}